
const microApps = [
    {
        name: 'app240202v1', // 子应用名称
        entry: 'http://192.168.0.103:7663/', //子应用运行地址
        activeRule: '/games01',//匹配的路由
        sanbox: true //解决css冲突
    },
    {
        name: 'app240203v1',
        entry: 'http://192.168.0.103:7664/',
        activeRule: '/games02',
        sanbox: true
    },
]
 
const apps = microApps.map(item => {
    return {
        ...item,
        container: '#AppGames', // 子应用挂载的div
        props: {
            routerBase: item.activeRule // 下发基础路由
        }
    }
})
 
export default apps